package com.example.chat_demo.entry;

public class Message {

    private String sender_uid;
    private String receive_uid;
    private String msg_key;
    private Long timestamp;
    private String content;

    @Override
    public String toString() {
        return "Message{" +
                "sender_uid='" + sender_uid + '\'' +
                ", receive_uid='" + receive_uid + '\'' +
                ", msg_key='" + msg_key + '\'' +
                ", timestamp=" + timestamp +
                ", content='" + content + '\'' +
                '}';
    }

    public String getSender_uid() {
        return sender_uid;
    }

    public void setSender_uid(String sender_uid) {
        this.sender_uid = sender_uid;
    }

    public String getReceive_uid() {
        return receive_uid;
    }

    public void setReceive_uid(String receive_uid) {
        this.receive_uid = receive_uid;
    }

    public String getMsg_key() {
        return msg_key;
    }

    public void setMsg_key(String msg_key) {
        this.msg_key = msg_key;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Message(String sender_uid, String receive_uid, String msg_key, Long timestamp, String content) {
        this.sender_uid = sender_uid;
        this.receive_uid = receive_uid;
        this.msg_key = msg_key;
        this.timestamp = timestamp;
        this.content = content;
    }
}
